//
// Created by 谢哲 on 2021/5/9.
//

#include <iostream>
#include <string>
using namespace std;

void solve(int n, string e) {
    if (n<=3) {
        cout << "ooo*o**--*" << e << "\n";
        cout << "o--*o**oo*" << e << "\n";
        cout << "o*o*o*--o*" << e << "\n";
        cout << "--o*o*o*o*" << e << "\n";
        return;
    }
    for (int i=0; i<n; ++i) cout << "o";
    for (int i=0; i<n; ++i) cout << "*";
    cout << "--" << e << "\n";
    for (int i=0; i<n-1; ++i) cout << "o";
    cout << "--";
    for (int i=0; i<n-1; ++i) cout << "*";
    cout << "o*" << e << "\n";
    if (n>4) e+="o*";
    solve(n-1, e);
}


int main() {
    int n;
    cin >> n;

    solve(n, "");

    return 0;
}